/**
 * 
 */
package com.starview.star.compiler.type;

public enum DefinitionKind
{
  variable
  {
    @Override
    public DefinitionKind degenerate()
    {
      return constructor;
    }
  },
  type
  {
    @Override
    public DefinitionKind degenerate()
    {
      return variable;
    }
  },
  constructor, contract, implementation, imports, java, unknown;

  public DefinitionKind degenerate()
  {
    return null;
  }
}